Test Suite Reduction Using HGS Based Heuristic Approach
نویسندگان
چکیده
Regression testing is performed throughout the software lifecycle to uncover the faults as early as possible and to ensure that changes do not have any adverse effect in the software that is operational. Test suites once developed are reused and updated frequently. As the software evolves, test cases in the test suite may become redundant. The reason behind this is that the requirements covered by newly added test cases may also be covered by the existing test cases. This redundant nature of test suite increases the cost of executing the same. Further, resource and time constraints impose the necessity to develop techniques to minimize test suites by removing redundant test cases. Few heuristic approaches have been used to solve the test suite minimization problem. Even though solutions exist, still the redundancy of test case remains. In order to solve this problem, this paper proposes two Harrold-Gupta-Soffa (HGS) based heuristic algorithms namely, Non Redundant HGS and Enhanced HGS. The former utilizes the redundant strategy available with Greedy, Redundant, Essential (GRE) to get rid of redundancy, whereas the latter selects a test case for higher cardinalities based on overall coverage of unmarked associated testing sets and thus arrives at reduced, non-redundant test suite. The experiments show that the proposed algorithms always select smaller size of test suite, compared to the existing HGS heuristics.
منابع مشابه
A Degraded ILP Approach for Test Suite Reduction
As the cost of executing and maintaining a large test suite is always expensive, many heuristic techniques have been brought out for test suite reduction in spite of no guarantee of minimum size. The integer linear programming (ILP) approach can generate minimum test suites but it may cost exponential time. This paper proposes a degraded ILP (DILP) approach to bridge the gap between the ILP met...
متن کاملA greedy approach for coverage-based test suite reduction
Software testing is an activity to find maximum number of errors which have not been discovered yet with optimum time and effort. As the software evolves the size of the test suite and grows with new test cases being added to the test suite. However, due to time and resource constraints rerunning all the test cases in the test suite is not possible, every time the software is modified, in order...
متن کاملBi-criteria Test Suite Reduction by Cluster Analysis of Execution Profiles
The aim has been to minimize regression test suites while retaining fault detection capability of the test suite admissible. An appropriate minimized test suite should exercise different execution paths within a program. However, minimization of test suites may result in significant fault detection loss. To alleviate the loss, a new bi-criteria heuristic algorithm, using cluster analysis of tes...
متن کاملUsing the Particle Swarm Optimization Algorithm to Generate the Minimum Test Suite in Covering Array with Uniform Strength
Up to now, several useful algorithms have been proposed to generate covering array, which is one of the branches of combinatorial testing. The main challenge in generating such arrays is generation of the arrays with a minimum number of test cases (for efficiency) at a proper time (for performance), for large systems. Covering array generation strategies are often divided into two general categ...
متن کاملSoftware Maintenance Testing Approaches to Support Test Case Changes - A Review
Software Maintenance Testing is essential during software testing phase. All defects found during testing must undergo a re-test process in order to eliminate the flaws. By doing so, test cases are absolutely needed to evolve and change accordingly. In this paper, several maintenance testing approaches namely regression test suite approach, heuristic based approach, keyword based approach, GUI ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Computing and Informatics
دوره 34 شماره
صفحات -
تاریخ انتشار 2015